package com.dhz.common.monitor;

/**
 * @author FY
 * @since 1.0
 */
public interface MonitorService {
    String APPLICATION = "application";
    String SERVICE = "service";
    String METHOD = "method";
    String GROUP = "group";
    String VERSION = "version";
    String TIMESTAMP = "timestamp";
    String SUCCESS = "success";
    String FAILURE = "failure";
    String ELAPSED = "elapsed";
    String CONCURRENT = "concurrent";
    String MAX_ELAPSED = "max.elapsed";
    String MAX_CONCURRENT = "max.concurrent";
    void collect(Statistics statistics);
    void destroy();
}
